local Utils={}

function Utils.calCityDistance(cityfrom,cityto)
    return configData.cfg_city_distance[cityfrom][cityto].distance
end

function Utils.getCoinStrByQuality(quality)
    if quality == 1 then
        return Language.gold
    elseif quality == 2 then
        return Language.diamond
    end
end

return Utils